<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #box{
            position: relative;
        }
        h1{
            font-size: 40px;
            text-align: center;
            color: aqua;
            animation: 多轴跳动 1s infinite;
        }
        @keyframes 多轴跳动 {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, 10px);
  }
  100% {
    transform: translate(0, 0);
  }
}
     
    </style>
</head>
<body>
    <div id="box">
        <h1>江上旗亭，送君还是逢君处。</h1>
    </div>
</body>
</html>